package com.houtai.bean.dto.job;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="岗位搜索所需参数 ", description="岗位搜索所需参数")
public class JobListDto extends Page {


    @NotEmpty(message = "搜索参数不能为空")
    @ApiModelProperty(value="搜索参数", name="search_param", example = "Java")
    private String search_param;

    @NotNull(message = "市id不能为空")
    @ApiModelProperty(value="市id", name="city_id", example = "201")
    private int city_id;

    public String getSearch_param() {
        return search_param;
    }

    public void setSearch_param(String search_param) {
        this.search_param = search_param;
    }

    public int getCity_id() {
        return city_id;
    }

    public void setCity_id(int city_id) {
        this.city_id = city_id;
    }
}
